A Dalton man was arrested after lying drunk with his bottom exposed on the steps of Huddersfield railway station.
Roger Whitworth then hurled racist abuse at police officers as they tried to move him on.
The 55-year-old’s behaviour was yesterday slammed as ‘disgraceful’ by a district judge at Kirklees Magistrates Court who ordered him to pay a fine.
Robert Campbell, prosecuting, said that on August 14 Whitworth had got himself into a very drunk state.
Members of staff at the St George’s Square train station had tried unsuccessfully to move him from the steps before calling police.
Mr Campbell said: “Police found the defendant laid on the floor.
“His trousers had come partially down, exposing his buttocks.
“There was an empty bottle of whisky next to him.”
The prosecutor said that when approached by one of the officers, Whitworth swore at him.
Mr Campbell said: “He said to him: ‘Are you white? I hate these blacks’.”
Whitworth, of Grosvenor Road, then made a racist remark when the officer was joined by his colleague who was of African-Caribbean ethnicity.
Mr Campbell said that he was taken to the police station and left to sober up before being interviewed.
Mr Campbell said: “He indicated that he couldn’t remember anything once he sat on the station steps.”
Whitworth admitted a charge of racially-aggravated disorderly behaviour.
Mike Sisson-Pell, mitigating, described his client as having a problem with drink.
He said that recently Kirklees magistrates made him subject to a community order, including alcohol treatment.
He said: “It was very much out of character for him to be racially abusive and he is bitterly ashamed.”
District Judge Roger Lowe told Whitworth: “This was disgraceful behaviour but I accept this was a one-off.”
He told him to pay £150 fine as well as £85 costs and £15 victim surcharge.