Beyond Paradise star Kris Marshall (DI Humphrey Goodman) said he was issued a stern warning by BBC bosses.