A bizarre incident allegedly involving a wheel of cheese has landed a WA man in court.